import $ from "@/utils/requset"


const goods = (params) => {
    return $({
        url: "/goods",
        method: "get",
        params
    })
}

const sku = (params) => {
    return $({
        url: `/goods/sku/${params.id}`,
        method: "get",
        params
    })
}


export default {
    goods, sku
}